package myapp.commands 
{
	import myapp.Model;

	import com.bumpslide.command.Command;
	import com.bumpslide.command.CommandEvent;

	/**
	 * select an image
	 * 
	 * @author David Knape
	 */
	public class SelectImage extends Command 
	{
		private var model:Model = Model.getInstance();
		
		override public function execute(event:CommandEvent):void
		{	
			model.selectedImage = event.data;			
			super.execute(event);
		}
	}
}
